package com.geekstudy.week3;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Week3SpringBootMain {

    final static Logger logger = LoggerFactory.getLogger(Week3SpringBootMain.class);

    public static void main(String[] args) {
        ConfigurableApplicationContext configurableContext = SpringApplication.run(Week3SpringBootMain.class, args);
        logger.info("beanCount:{} ", configurableContext.getBeanDefinitionCount());
    }
}
